package com.css.fxfzypg.modules.maps.service;

import com.css.fxfzypg.modules.baseData.entity.Road;
import com.css.fxfzypg.modules.baseData.queryParams.RoadQueryParams;

import java.util.List;
import java.util.Map;

public interface RoadMapService {
    //全查询
    public Map<String,Object> getAllData(RoadQueryParams queryParams);

    //数据数量查询
    public int getAllDataCount(RoadQueryParams queryParams);

    //根据ID查询数据
    public Map<String,Object> getDataById(String id);

    //逻辑删除文件及相关数据
    public void deleteFileData(List<String> ids, String userId);

    //校验并保存
    public String checkSHPFiles(String filePath, String province, String city, String area, String formatDate, String userID);

    List<Road> getRoadByDistirct( String province, String city, String  county);

    boolean getRoadByGeom(String geomText, String taskRegion);

    boolean getRoadByTaskId(String geomText, String taskRegion);
}
